export const LastMayday = (obj) => {
	return ({
		"width": "670rpx",
		"height": "760rpx",
		"background": "#FFFFFF",
		"views": [
			{
				"type": "view",
				"css": {
					"background": "#fff",
					"width": "670rpx",
					"height": "760rpx",
					"top": "0rpx",
					"left": "0rpx",
					"rotate": "0",
					"radius": "0",
					"borderWidth": "2rpx",
					"borderColor": "#ffc240",
					"shadow": "",
				}
			},
			{
				"type": "text",
				"text": obj ? obj.name : "  ",
				"css": {
					"color": "#191919",
					"background": "rgba(0,0,0,0)",
					"width": "670rpx",
					"height": "40.04rpx",
					"top": "205rpx",
					"left": "0rpx",
					"rotate": "0",
					"radius": "",
					"borderWidth": "",
					"borderColor": "#000000",
					"shadow": "",
					"padding": "0rpx",
					"fontSize": "38rpx",
					"fontWeight": "600",
					"maxLines": "2",
					"lineHeight": "40.40400000000001rpx",
					"textStyle": "fill",
					"textDecoration": "none",
					"fontFamily": "",
					"textAlign": "center"
				}
			},
			{
				"type": "view",
				"css": {
					"background": "#ffc240",
					"width": "285rpx",
					"height": "285rpx",
					"top": "308.5rpx",
					"left": "192.5rpx",
					"rotate": "0",
					"radius": "",
					"borderWidth": "4rpx",
					"borderColor": "#ffc240",
					"shadow": "",
				}
			},
			{
				"type": "image",
				"url":  obj.erweima ,
				"css": {
					"width": "270rpx",
					"height": "270rpx",
					"top": "315rpx",
					"left": "200rpx",
					"rotate": "0",
					"radius": "",
					"borderWidth": "",
					"borderColor": "#000000",
					"shadow": "",
					"mode": "scaleToFill"
				}
			},
			
			{
				"type": "view",
				"css": {
					"background": "#ffc240",
					"width": "148rpx",
					"height": "148rpx",
					"top": "51rpx",
					"left": "267rpx",
					"rotate": "0",
					"radius": "50%",
					"borderWidth": "2rpx",
					"borderColor": "#ffc240",
					"shadow": "",
				}
			},
			{
				"type": "image",
				"url": obj.userImg,
				"css": {
					"width": "136rpx",
					"height": "136rpx",
					"top": "57rpx",
					"left": "274rpx",
					"rotate": "0",
					"radius": "50%",
					"borderWidth": "",
					"borderColor": "#000000",
					"shadow": "",
					"mode": "scaleToFill"
				}
			}
		]
	});
}
